#{extends 'main.html' /}
#{set title:'Messages' /}
#{stylesheet 'messages.css'/}
<!--<style>
	#main-content{
		background:white;
	}
</style>
-->
<div id="msg_wrap">
	<h2 align="center">Messages</h2>
	#{list items:mythread, as:'temp'}
	<div class="msg_post" style="">
		 <div style="margin: 0 auto; width: 480px;">
				<div class="msg_from_user">
					<a href="/profile/${temp.toId}"  class="name_of_memb">
						<img src="/public/DataOfImages/${temp.toPrPhoto}"/>
						<div style="font-size: xx-small; text-align: center;width: 40px;overflow: hidden; height: 12px;">
							${temp.toname}
						</div>
					</a>
				</div>	
				<div class="msg_text">${temp.text}</div>
			<div class="cleaner"></div>					
		  </div>
	</div>
	#{/list}
	
	<!-- Send Messege
	<div style="margin: 0 auto; width: 410px;" align="right">
		<textarea rows="2" class="inputstyle" id="msgsend"></textarea>
		<div style="margin-top: 7px;"><a class="buttonclass" style="font-size: 12px;">Send</a></div>
	</div> -->
</div>